/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
import { HttpSrv } from 'lfun-bg-comp';
/** 技能证书信息管理 */
export class TeaSkillCertificatesSrv {
  /** 列表 */
  public static async list(params: any) {
    return HttpSrv().get(`/school/v1/teacher-extend/teacher-skill-certificates-all`, { params: { ...params } });
  }

  /** 新增 */
  public static async add(params: any) {
    return HttpSrv().post('/school/v1/teacher-extend/teacher-skill-certificates', params);
  }

  /** 更新 */
  public static async update(params: any) {
    return HttpSrv().put('/school/v1/teacher-extend/teacher-skill-certificates', params);
  }

  /** 删除 */
  public static async delete(id: any) {
    return HttpSrv().delete(`/school/v1/teacher-extend/teacher-skill-certificates?teacher_skill_certificates_id=${id}`);
  }

  /** 详情 */
  public static async detail(id: any) {
    return HttpSrv().get(`/school/v1/teacher-extend/teacher-skill-certificates?teacher_skill_certificates_id=${id}`);
  }
}
